package com.shop.cereshop.app.param.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 钱包信息展示VO
 * @author wang.yao
 * @date 2025-08-26
 */
@Data
@ApiModel(value = "WalletInfoVO", description = "钱包信息响应参数")
public class WalletInfoVO {

    @ApiModelProperty(value = "钱包ID", example = "1", notes = "钱包唯一标识，默认值：无")
    private Long walletId;

    @ApiModelProperty(value = "用户ID", example = "8324", notes = "用户唯一标识，默认值：无")
    private Long buyerUserId;

    @ApiModelProperty(value = "钱包余额", example = "1000.00", notes = "当前钱包余额，默认值：0.00")
    private BigDecimal balance;

    @ApiModelProperty(value = "是否设置支付密码", example = "true", notes = "true-已设置 false-未设置，默认值：false")
    private Boolean isSetPayPassword;

    @ApiModelProperty(value = "支付密码错误次数", example = "0", notes = "当前错误次数，默认值：0")
    private Integer payPasswordErrorCount;

    @ApiModelProperty(value = "支付密码锁定时间", example = "2024-12-01 10:00:00", notes = "锁定时间，未锁定时为null，默认值：null")
    private String payPasswordLockTime;

    @ApiModelProperty(value = "剩余锁定时间(分钟)", example = "30", notes = "剩余锁定时间，未锁定时为0，默认值：0")
    private Long remainingLockTime;
}
